package edu.java.lectures.lec03;

public class Fruit {

    // error-prone approach
    public static final int SORT_APPLE = 1;
    public static final int SORT_PEAR = 2;
    public static final int SORT_PEACH = 3;

    // 1 - apple
    // 2 - pear
    // 3 - peach
    private int sort;

    public Fruit(int sort) {
	this.sort = sort;
    }

    public static void main(String[] args) {
	Fruit peach = new Fruit((SORT_PEACH * SORT_APPLE) / SORT_PEAR);
    }
}
